package com.example.jspweb.model;

import lombok.Data;
import java.util.List;

@Data
public class VrpRequest {
    private Vehicle vehicle;
    private List<Service> services;

    @Data
    public static class Vehicle {
        private String id;
        private LocationDto startLocation;
        private int capacity;
    }

    @Data
    public static class Service {
        private String id;
        private LocationDto location;
        private int demand;
        private double serviceTime;
    }
}
